// 无特殊必要，请勿手动修改此文件内容，可能会导致construct脚本出错

#include "BootLoader.h"
#include "service.h"
#include "cli/help/Help.h"
#include "cli/exit/Exit.h"
#include "cli/ping/Ping.h"
#include "cli/reload/Reload.h"
#include "cli/connect/Connect.h"
#include "cli/showslaves/ShowSlaves.h"
#include "cli/showmaster/ShowMaster.h"
#include "cli/send/Send.h"
#include "cli/update/Update.h"
#include "cli/config/Config.h"
#include "cli/ls/Ls.h"
#include "cli/close/Close.h"
#include "cli/get/Get.h"
#include "cli/cd/Cd.h"
#include "cli/pull/Pull.h"
#include "cli/xiaoximessage/XiaoxiMessage.h"
// 需要注册的命令
void BootLoader::registerCli() {
    cliService.registerCmd(new cliTask::Help());
    cliService.registerCmd(new cliTask::Exit());
    cliService.registerCmd(new cliTask::Ping());
    cliService.registerCmd(new cliTask::Reload());
    cliService.registerCmd(new cliTask::Connect());
    cliService.registerCmd(new cliTask::ShowSlaves());
    cliService.registerCmd(new cliTask::ShowMaster());
    cliService.registerCmd(new cliTask::Send());
    cliService.registerCmd(new cliTask::Update());
    cliService.registerCmd(new cliTask::Config());
    cliService.registerCmd(new cliTask::Ls());
    cliService.registerCmd(new cliTask::Close());
    cliService.registerCmd(new cliTask::Get());
    cliService.registerCmd(new cliTask::Cd());
    cliService.registerCmd(new cliTask::Pull());
    cliService.registerCmd(new cliTask::XiaoxiMessage());
}